/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import core.SchoolMat;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Lukin
 */
@Local
public interface ISchoolMat {
    
    public void createSchoolMat(SchoolMat mat);

    void updateSchoolMat(SchoolMat mat);

    void deleteSchoolMat(SchoolMat mat);

    public SchoolMat findSchoolMat(int matId);

    public SchoolMat findSchoolMat(String username);

    public List<SchoolMat> findAllSchoolMats();
}
